package cn.lili.eventbus.event;

import cn.lili.eventbus.BaseEvent;
import cn.lili.eventbus.tags.GoodsTagsEnum;
import lombok.Data;

/**
 * @Author Sylow
 * @Description 商品事件
 * @Date: Created in 14:53 2025/6/17
 */
@Data
public class GoodsEvent extends BaseEvent {

    private final Object data;

    private final GoodsTagsEnum goodsTagsEnum;

    public GoodsEvent(Object data, GoodsTagsEnum goodsTagsEnum) {
        super("GOODS_EVENT");
        this.data = data;
        this.goodsTagsEnum = goodsTagsEnum;
    }

}
